<script setup lang="ts">
import ChildComponent from './ChildComponent.vue'

const handleTap = () => {
  alert('111')
}
</script>

<template>
  <ChildComponent type="success" @click="handleTap"></ChildComponent>
</template>

<style scoped></style>
